package test.list.arraylist;

import java.util.ArrayList;
import java.util.stream.Stream;

public class MyArrayList<E> extends ArrayList {


            private static final int DEFAULT_CAPACITY = 10;
            private static final Object[] EMPTY_ELEMENTDATA = {};
            private static final Object[] DEFAULTCAPACITY_EMPTY_ELEMENTDATA = {};
            transient Object[] elementData;
            private int size;

    public MyArrayList(int initialCapacity, Object[] elementData) {
        super(initialCapacity);
        this.elementData = elementData;
    }

    public MyArrayList(int initialCapacity) {

     }

    public MyArrayList(Object[] elementData) {
        this.elementData = elementData;
    }


    @Override
    public boolean add(Object o) {
        return super.add(o);
    }





















}

